inspector: Fix focus in css editor
authorMatthias Clasen <mclasen@redhat.com>
Thu, 11 Dec 2014 03:39:50 +0000 (22:39 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 11 Dec 2014 03:39:50 +0000 (22:39 -0500)
Give the text view initial focus, so things work as expected
when switching to the css editor for the first time.

gtk/inspector/css-editor.ui

index 3e92f2a7c07b01e5d8db4c00ce3c68fd90ab9ef2..cd77f1a1d141c4cd44faad0021ff6c62d9f06d61 100644 (file)
@@ -85,6 +85,7 @@
             <property name="buffer">text</property>
             <property name="wrap-mode">word</property>
             <property name="monospace">True</property>
+            <property name="has-focus">True</property>
           </object>
         </child>
       </object>